package com.bdth.bdthiss.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Administrator on 2020/3/5.
 */
public class ContractPlusVo implements Serializable {
    private int id;
    //合同编号 bdth_contract as a
    //a.code as code,
    private String code;
    //需方名称 bdth_contract as a
    //a.customername as customername,
    private String customername;
    //产品名称
    //b.productname as productname,
    private String productname;
    //产品分类
    //b.producttype as productype,
    private String producttype;
    //数量
    //b.productsum as productsum,
    private int productsum;
    //单价
    //b.productprice as productprice,
    private String productprice;
    //a.customerid as customerid,
    private int customerid;
    //合同额
    //b.producttotal as producttotal,
    private BigDecimal producttotal;
    //合同总金额
    //a.total as total,
    private BigDecimal total;
    //税率
    //c.suilv as suilv,
    private String suilv;
    //签订日期
    //a.crtime as crtime,
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date crtime;
    //签订人
    //a.signman as signman,
    private String signman;
    //实收款;
    //a.payment as payment,
    private BigDecimal payment;
    //软件退税
    //?
    private String tuisui;
    //按实收款毛利
    //？
    private BigDecimal paymentml;
    //应收款
    //a.receivables as receivables,
    private BigDecimal receivables;
    //到款日期
    //a.lastpaytime as lastpaytime,
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private  Date lastpaytime;
    //军品/民品
    //b.armming as type,
    private String type;
    //是否有纸质合同
    //a,pageht as pageht,
    private int pageht;
    //开票金额
    //a.totalbill as paytype,
    private BigDecimal paytype;
    //开票日期
    //c.crtime as introtime,
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date introtime;
    //特殊说明
    //?
    private String shuoming;
    //地区
    //?
    private String diqu;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public String getProducttype() {
        return producttype;
    }

    public void setProducttype(String producttype) {
        this.producttype = producttype;
    }

    public int getProductsum() {
        return productsum;
    }

    public void setProductsum(int productsum) {
        this.productsum = productsum;
    }

    public String getProductprice() {
        return productprice;
    }

    public void setProductprice(String productprice) {
        this.productprice = productprice;
    }

    public int getCustomerid() {
        return customerid;
    }

    public void setCustomerid(int customerid) {
        this.customerid = customerid;
    }

    public BigDecimal getProducttotal() {
        return producttotal;
    }

    public void setProducttotal(BigDecimal producttotal) {
        this.producttotal = producttotal;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public String getSuilv() {
        return suilv;
    }

    public void setSuilv(String suilv) {
        this.suilv = suilv;
    }

    public Date getCrtime() {
        return crtime;
    }

    public void setCrtime(Date crtime) {
        this.crtime = crtime;
    }

    public String getSignman() {
        return signman;
    }

    public void setSignman(String signman) {
        this.signman = signman;
    }

    public BigDecimal getPayment() {
        return payment;
    }

    public void setPayment(BigDecimal payment) {
        this.payment = payment;
    }

    public String getTuisui() {
        return tuisui;
    }

    public void setTuisui(String tuisui) {
        this.tuisui = tuisui;
    }

    public BigDecimal getPaymentml() {
        return paymentml;
    }

    public void setPaymentml(BigDecimal paymentml) {
        this.paymentml = paymentml;
    }

    public BigDecimal getReceivables() {
        return receivables;
    }

    public void setReceivables(BigDecimal receivables) {
        this.receivables = receivables;
    }

    public Date getLastpaytime() {
        return lastpaytime;
    }

    public void setLastpaytime(Date lastpaytime) {
        this.lastpaytime = lastpaytime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getPageht() {
        return pageht;
    }

    public void setPageht(int pageht) {
        this.pageht = pageht;
    }

    public BigDecimal getPaytype() {
        return paytype;
    }

    public void setPaytype(BigDecimal paytype) {
        this.paytype = paytype;
    }

    public Date getIntrotime() {
        return introtime;
    }

    public void setIntrotime(Date introtime) {
        this.introtime = introtime;
    }

    public String getShuoming() {
        return shuoming;
    }

    public void setShuoming(String shuoming) {
        this.shuoming = shuoming;
    }

    public String getDiqu() {
        return diqu;
    }

    public void setDiqu(String diqu) {
        this.diqu = diqu;
    }
}
